/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package categorybean;

import DBConnection.ATeamObject;
import java.util.Collection;
import java.rmi.*;

import javax.ejb.*;

/**
 *
 * @author Konstantin
 */
public interface CategoryHome extends EJBHome{
    
    public Category findByPrimaryKey(Integer primaryKey) 
            throws RemoteException, FinderException;
    
    public Category create(ATeamObject ATObj)
            throws RemoteException, CreateException;
    
    public Collection findByName(ATeamObject ATObj)
            throws RemoteException, FinderException;
    
    public Collection findAll()
            throws RemoteException, FinderException;
    
    public Collection findByObjectDescription(ATeamObject ATObj)
            throws RemoteException, FinderException;
}

